package com.springboot_intr2.service;

import com.github.pagehelper.PageInfo;
import com.springboot_intr2.pojo.Dept;

import java.util.List;

public interface DeptService {
    public List<Dept> getAll();
    public Dept getOne(Integer deptno);
    public int save(Dept dept);
    public PageInfo<Dept> bypage(Integer pageNo);
}
